package org.codeart.adapter.example;

public class SDCardAdapter extends TFCardImpl implements SDCard {

    @Override
    public String readSD() {
        System.out.println("adapter's reading data from TF card...");
        return readTF();
    }

    @Override
    public void writeSD(String data) {
        System.out.println("adapter's writing data into TF card...");
        writeTF(data);
    }
}
